var app = angular.module("quesApp", ['ngResource']);
app.controller("quesCtr", function($scope,$resource) {
	$scope.sentdata={empid:'B5B7B32B-144C-4BA0-853F-240CCD20A796',pageindex:1,loadtype:0};//通过登录获取empid
	
	$scope.dataget=httpServer.getMyExercises($resource,$scope.sentdata);//获取数据源
	
	$scope.pagenum=(Math.ceil($scope.datasourse.dataCount)/10);
	
	$scope.temp[];
	
	for(var i=0;i<$scope.pagecount;i++){
		$scope.temp.push([i]);
	}
	
	
}